package com.pubinfo.passbook.common.model.http.esb;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@NoArgsConstructor
@Data
public class EsbRequestBase implements Serializable {
  private static final long serialVersionUID = -8803358771442631571L;
  //请求系统编码
  @JsonProperty("sysId")
  private String sysId;
  //用来标识用户的唯一ID，可为空
  @JsonProperty("userId")
  private String userId;
  //服务名称
  @JsonProperty("service")
  private String service;
  //数字签名
  @JsonProperty("signature")
  private String signature;
  //8位随机数
  @JsonProperty("randomNum")
  private String randomNum;
  //时间戳
  @JsonProperty("timestamp")
  private String timestamp;
  //客户端系统业务流水号，可为空
  @JsonProperty("bizId")
  private String bizId;
}
